package com.demon.net.ui

sealed class UIState(
  var handled: Boolean = false,
  var stick: Boolean = false
) {
  data class LoadingState(val message: String? = null) : UIState()
  data class ExpiredState(val message: String? = null) : UIState()
  data class FailedState(
    val message: String? = null,
    val code: Int? = null
  ) : UIState()

  data class ErrorState(val message: String? = null) : UIState()
}